package com.ken.apigateway.comm;

import com.google.common.collect.Lists;
import com.ken.apigateway.pojo.FilterPath;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@RefreshScope
public class CustomProperty {


    @Value("${CustomProperty.cookie.domain.default}")
    private String cookieDomain;
    @Value("${CustomProperty.cookie.name.customerLogin}")
    private String customerLoginCookieName;
    @Value("${CustomProperty.cookie.name.userLogin}")
    private String userLoginCookieName;
    @Value("${CustomProperty.cookie.name.openid}")
    private String openidCookieName;

    @Value("${CustomProperty.serverName}")
    private String serverName;
    @Value("${CustomProperty.needLogin}")
    private Boolean needLogin;
    @Value("${CustomProperty.customerNeedLogin}")
    private Boolean customerNeedLogin;
    @Value("${CustomProperty.checkAcl}")
    private Boolean checkAcl;
    @Value("${CustomProperty.routeLancher}")
    private String routeLancher;
    @Value("${CustomProperty.permissionLancher}")
    private String permissionLancher;



}
